package com.yonyou.gmmc.service.wechatpush.model;

import java.sql.Date;

import javax.persistence.*;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

@Table(name = "TM_REPLY_SMART")
public class TmReplySmart {
    @Column(name = "ID")
    @SequenceGenerator(name="",sequenceName="SEQ_REPLY_SMART")
    private Integer id;

    @Column(name = "REPLY_TYPE")
    private Integer replyType;

    @Column(name = "REPLY_CONTENT")
    private String replyContent;

    @Column(name = "GRAPHIC_TYPE")
    private Integer graphicType;

    @Column(name = "GRAPHIC_ID")
    private Integer graphicId;

    @Column(name = "SUBMENU_PARENT_ID")
    private String submenuParentId;

    @Column(name = "SUBMENU_SEQUENCE_ID")
    private String submenuSequenceId;

    @Column(name = "STATUS")
    private Integer status;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "CREATE_DATE")
    private Date createDate;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    @Column(name = "MENU_INFO")
    private String menuInfo;
    
    /**
     * @return ID
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return REPLY_TYPE
     */
    public Integer getReplyType() {
        return replyType;
    }

    /**
     * @param replyType
     */
    public void setReplyType(Integer replyType) {
        this.replyType = replyType;
    }

    /**
     * @return REPLY_CONTENT
     */
    public String getReplyContent() {
        return replyContent;
    }

    /**
     * @param replyContent
     */
    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    /**
     * @return GRAPHIC_TYPE
     */
    public Integer getGraphicType() {
        return graphicType;
    }

    /**
     * @param graphicType
     */
    public void setGraphicType(Integer graphicType) {
        this.graphicType = graphicType;
    }

    /**
     * @return GRAPHIC_ID
     */
    public Integer getGraphicId() {
        return graphicId;
    }

    /**
     * @param graphicId
     */
    public void setGraphicId(Integer graphicId) {
        this.graphicId = graphicId;
    }

    /**
     * @return SUBMENU_PARENT_ID
     */
    public String getSubmenuParentId() {
        return submenuParentId;
    }

    /**
     * @param submenuParentId
     */
    public void setSubmenuParentId(String submenuParentId) {
        this.submenuParentId = submenuParentId;
    }

    /**
     * @return SUBMENU_SEQUENCE_ID
     */
    public String getSubmenuSequenceId() {
        return submenuSequenceId;
    }

    /**
     * @param submenuSequenceId
     */
    public void setSubmenuSequenceId(String submenuSequenceId) {
        this.submenuSequenceId = submenuSequenceId;
    }

    /**
     * @return STATUS
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    
    /**
     * @return the createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    
    /**
     * @param createDate the createDate to set
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    
    /**
     * @return the updateDate
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    
    /**
     * @param updateDate the updateDate to set
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    
    /**
     * @return the menuInfo
     */
    public String getMenuInfo() {
        return menuInfo;
    }

    
    /**
     * @param menuInfo the menuInfo to set
     */
    public void setMenuInfo(String menuInfo) {
        this.menuInfo = menuInfo;
    }
}